//package com.zmj.demo.controller;
//
//import com.zmj.demo.service.RabbitProducer;
//import io.swagger.annotations.Api;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@Api(tags = { "hello" })
//@RestController
//@RequestMapping("/v1/rabbitMq")
//public class RabbitMqController {
//
//    @Autowired
//    private RabbitProducer rabbitProducer;
//
//    @GetMapping("/sendDemoQueue")
//    public Object sendDemoQueue() {
//        rabbitProducer.sendDemoQueue();
//        return "success";
//    }
//}